<div class="pageContent">
	<form method="post" action="<?php echo site_url('backend/model/edit')?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="56">
			<input type="hidden" name="id" value="<?php echo $id;?>">
			<dl>
				<dt>模块：</dt>
				<dd><input name="name" type="text" size="30" class="required" value="<?php echo $name?>"/></dd>
			</dl>
			<dl>
				<dt>脚本：</dt>
				<dd><input name="url" type="text" size="30" class="required" value="<?php echo $url?>"/></dd>
			</dl>
			<dl>
				<dt>所属：</dt>
				<dd><select name="parent" class="required combox">
						<option value="0">主类</option>
					<?php echo $this->html_helper->select($modelList, $parent)?>
				</select></dd>
			</dl>
			<dl>
				<dt>排序：</dt>
				<dd><input name="rank" type="text" size="30" value="<?php echo $rank?>" class="required"/></dd>
			</dl>
			<dl>
				<dt>类型：</dt>
				<dd><select name="target" class="required combox">
					<?php echo $this->html_helper->select(array('navTab'=>'navTab','dialog'=>'dialog'), $target)?>
				</select></dd>
			</dl>
			<dl>
				<dt>宽度：</dt>
				<dd><input name="width" type="text" size="10" value="<?php echo $width?>" class="required digits"/></dd>
			</dl>
			<dl>
				<dt>高度：</dt>
				<dd><input name="height" type="text" size="10" value="<?php echo $height?>" class="required digits"/></dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
